3.4.61 \(\int x^4 \sqrt {a+b x^2} \, dx\) [361]

Optimal. Leaf size=94 \[ -\frac {a^2 x \sqrt {a+b x^2}}{16 b^2}+\frac {a x^3 \sqrt {a+b x^2}}{24 b}+\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {a^3 \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{16 b^{5/2}} \]

[Out]

1/16*a^3*arctanh(x*b^(1/2)/(b*x^2+a)^(1/2))/b^(5/2)-1/16*a^2*x*(b*x^2+a)^(1/2)/b^2+1/24*a*x^3*(b*x^2+a)^(1/2)/
b+1/6*x^5*(b*x^2+a)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {285, 327, 223, 212} \begin {gather*} \frac {a^3 \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{16 b^{5/2}}-\frac {a^2 x \sqrt {a+b x^2}}{16 b^2}+\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {a x^3 \sqrt {a+b x^2}}{24 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^4*Sqrt[a + b*x^2],x]

[Out]

-1/16*(a^2*x*Sqrt[a + b*x^2])/b^2 + (a*x^3*Sqrt[a + b*x^2])/(24*b) + (x^5*Sqrt[a + b*x^2])/6 + (a^3*ArcTanh[(S
qrt[b]*x)/Sqrt[a + b*x^2]])/(16*b^(5/2))

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 223

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 285

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c*x)^(m + 1)*((a + b*x^n)^p/(c*(m + n
*p + 1))), x] + Dist[a*n*(p/(m + n*p + 1)), Int[(c*x)^m*(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b, c, m}, x]
&& IGtQ[n, 0] && GtQ[p, 0] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 327

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[c^(n - 1)*(c*x)^(m - n + 1)*((a + b*x^n
)^(p + 1)/(b*(m + n*p + 1))), x] - Dist[a*c^n*((m - n + 1)/(b*(m + n*p + 1))), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rubi steps

\begin {align*} \int x^4 \sqrt {a+b x^2} \, dx &=\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {1}{6} a \int \frac {x^4}{\sqrt {a+b x^2}} \, dx\\ &=\frac {a x^3 \sqrt {a+b x^2}}{24 b}+\frac {1}{6} x^5 \sqrt {a+b x^2}-\frac {a^2 \int \frac {x^2}{\sqrt {a+b x^2}} \, dx}{8 b}\\ &=-\frac {a^2 x \sqrt {a+b x^2}}{16 b^2}+\frac {a x^3 \sqrt {a+b x^2}}{24 b}+\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {a^3 \int \frac {1}{\sqrt {a+b x^2}} \, dx}{16 b^2}\\ &=-\frac {a^2 x \sqrt {a+b x^2}}{16 b^2}+\frac {a x^3 \sqrt {a+b x^2}}{24 b}+\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {a^3 \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{16 b^2}\\ &=-\frac {a^2 x \sqrt {a+b x^2}}{16 b^2}+\frac {a x^3 \sqrt {a+b x^2}}{24 b}+\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {a^3 \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{16 b^{5/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 74, normalized size = 0.79 \begin {gather*} \frac {\sqrt {a+b x^2} \left (-3 a^2 x+2 a b x^3+8 b^2 x^5\right )}{48 b^2}-\frac {a^3 \log \left (-\sqrt {b} x+\sqrt {a+b x^2}\right )}{16 b^{5/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^4*Sqrt[a + b*x^2],x]

[Out]

(Sqrt[a + b*x^2]*(-3*a^2*x + 2*a*b*x^3 + 8*b^2*x^5))/(48*b^2) - (a^3*Log[-(Sqrt[b]*x) + Sqrt[a + b*x^2]])/(16*
b^(5/2))

________________________________________________________________________________________

Maple [A]
time = 0.04, size = 82, normalized size = 0.87

method result size
risch \(-\frac {x \left (-8 b^{2} x^{4}-2 a b \,x^{2}+3 a^{2}\right ) \sqrt {b \,x^{2}+a}}{48 b^{2}}+\frac {a^{3} \ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{16 b^{\frac {5}{2}}}\) \(62\)
default \(\frac {x^{3} \left (b \,x^{2}+a \right )^{\frac {3}{2}}}{6 b}-\frac {a \left (\frac {x \left (b \,x^{2}+a \right )^{\frac {3}{2}}}{4 b}-\frac {a \left (\frac {x \sqrt {b \,x^{2}+a}}{2}+\frac {a \ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{2 \sqrt {b}}\right )}{4 b}\right )}{2 b}\) \(82\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4*(b*x^2+a)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/6*x^3*(b*x^2+a)^(3/2)/b-1/2*a/b*(1/4*x*(b*x^2+a)^(3/2)/b-1/4*a/b*(1/2*x*(b*x^2+a)^(1/2)+1/2*a/b^(1/2)*ln(x*b
^(1/2)+(b*x^2+a)^(1/2))))

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 69, normalized size = 0.73 \begin {gather*} \frac {{\left (b x^{2} + a\right )}^{\frac {3}{2}} x^{3}}{6 \, b} - \frac {{\left (b x^{2} + a\right )}^{\frac {3}{2}} a x}{8 \, b^{2}} + \frac {\sqrt {b x^{2} + a} a^{2} x}{16 \, b^{2}} + \frac {a^{3} \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{16 \, b^{\frac {5}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(b*x^2+a)^(1/2),x, algorithm="maxima")

[Out]

1/6*(b*x^2 + a)^(3/2)*x^3/b - 1/8*(b*x^2 + a)^(3/2)*a*x/b^2 + 1/16*sqrt(b*x^2 + a)*a^2*x/b^2 + 1/16*a^3*arcsin
h(b*x/sqrt(a*b))/b^(5/2)

________________________________________________________________________________________

Fricas [A]
time = 1.02, size = 146, normalized size = 1.55 \begin {gather*} \left [\frac {3 \, a^{3} \sqrt {b} \log \left (-2 \, b x^{2} - 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right ) + 2 \, {\left (8 \, b^{3} x^{5} + 2 \, a b^{2} x^{3} - 3 \, a^{2} b x\right )} \sqrt {b x^{2} + a}}{96 \, b^{3}}, -\frac {3 \, a^{3} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right ) - {\left (8 \, b^{3} x^{5} + 2 \, a b^{2} x^{3} - 3 \, a^{2} b x\right )} \sqrt {b x^{2} + a}}{48 \, b^{3}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(b*x^2+a)^(1/2),x, algorithm="fricas")

[Out]

[1/96*(3*a^3*sqrt(b)*log(-2*b*x^2 - 2*sqrt(b*x^2 + a)*sqrt(b)*x - a) + 2*(8*b^3*x^5 + 2*a*b^2*x^3 - 3*a^2*b*x)
*sqrt(b*x^2 + a))/b^3, -1/48*(3*a^3*sqrt(-b)*arctan(sqrt(-b)*x/sqrt(b*x^2 + a)) - (8*b^3*x^5 + 2*a*b^2*x^3 - 3
*a^2*b*x)*sqrt(b*x^2 + a))/b^3]

________________________________________________________________________________________

Sympy [A]
time = 5.10, size = 117, normalized size = 1.24 \begin {gather*} - \frac {a^{\frac {5}{2}} x}{16 b^{2} \sqrt {1 + \frac {b x^{2}}{a}}} - \frac {a^{\frac {3}{2}} x^{3}}{48 b \sqrt {1 + \frac {b x^{2}}{a}}} + \frac {5 \sqrt {a} x^{5}}{24 \sqrt {1 + \frac {b x^{2}}{a}}} + \frac {a^{3} \operatorname {asinh}{\left (\frac {\sqrt {b} x}{\sqrt {a}} \right )}}{16 b^{\frac {5}{2}}} + \frac {b x^{7}}{6 \sqrt {a} \sqrt {1 + \frac {b x^{2}}{a}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**4*(b*x**2+a)**(1/2),x)

[Out]

-a**(5/2)*x/(16*b**2*sqrt(1 + b*x**2/a)) - a**(3/2)*x**3/(48*b*sqrt(1 + b*x**2/a)) + 5*sqrt(a)*x**5/(24*sqrt(1
 + b*x**2/a)) + a**3*asinh(sqrt(b)*x/sqrt(a))/(16*b**(5/2)) + b*x**7/(6*sqrt(a)*sqrt(1 + b*x**2/a))

________________________________________________________________________________________

Giac [A]
time = 1.50, size = 64, normalized size = 0.68 \begin {gather*} \frac {1}{48} \, {\left (2 \, {\left (4 \, x^{2} + \frac {a}{b}\right )} x^{2} - \frac {3 \, a^{2}}{b^{2}}\right )} \sqrt {b x^{2} + a} x - \frac {a^{3} \log \left ({\left | -\sqrt {b} x + \sqrt {b x^{2} + a} \right |}\right )}{16 \, b^{\frac {5}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(b*x^2+a)^(1/2),x, algorithm="giac")

[Out]

1/48*(2*(4*x^2 + a/b)*x^2 - 3*a^2/b^2)*sqrt(b*x^2 + a)*x - 1/16*a^3*log(abs(-sqrt(b)*x + sqrt(b*x^2 + a)))/b^(
5/2)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^4\,\sqrt {b\,x^2+a} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4*(a + b*x^2)^(1/2),x)

[Out]

int(x^4*(a + b*x^2)^(1/2), x)

________________________________________________________________________________________